package com.site.wisdom_construction.entity.scheduleModule;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.sql.Date;

/**
 * @Description  
 * @Author  DYF
 * @Date 2022-01-16 
 */

@ApiModel (value ="产值记录表实体类",description = "ProductionRecords")
public class ProductionRecords {
	/**
	 * 产值记录表id
	 */
   	@ApiModelProperty(value = "产值记录表id", name = "id")
	private Integer id;

	/**
	 * 项目id
	 */
   	@ApiModelProperty(value = "项目id", name = "projectId")
	private String projectId;

	/**
	 * 月产值
	 */
   	@ApiModelProperty(value = "月产值", name = "productionMonth")
	private Double productionMonth;

	/**
	 * 计划产值
	 */
   	@ApiModelProperty(value = "计划产值", name = "productionPlan")
	private Double productionPlan;

	/**
	 * 时间
	 */
   	@ApiModelProperty(value = "时间", name = "productionTime")
	@JsonFormat(timezone = "GMT+8", pattern ="yyyy-MM-dd")
	private Date productionTime;

	public ProductionRecords(){ super(); }

	public ProductionRecords(Integer id, String projectId, Double productionMonth, Double productionPlan, Date productionTime) {
		this.id = id;
		this.projectId = projectId;
		this.productionMonth = productionMonth;
		this.productionPlan = productionPlan;
		this.productionTime = productionTime;
	}

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getProjectId() {
		return this.projectId;
	}

	public void setProjectId(String projectId) {
		this.projectId = projectId;
	}

	public Double getProductionMonth() {
		return this.productionMonth;
	}

	public void setProductionMonth(Double productionMonth) {
		this.productionMonth = productionMonth;
	}

	public Double getProductionPlan() {
		return this.productionPlan;
	}

	public void setProductionPlan(Double productionPlan) {
		this.productionPlan = productionPlan;
	}

	public Date getProductionTime() {
		return this.productionTime;
	}

	public void setProductionTime(Date productionTime) {
		this.productionTime = productionTime;
	}

	@Override
	public String toString() {
		return "{" +
				"id='" + id + '\'' +
				", projectId='" + projectId + '\'' +
				", productionMonth='" + productionMonth + '\'' +
				", productionPlan='" + productionPlan + '\'' +
				", productionTime='" + productionTime + '\'' +
				'}';
	}
}
